package com.wanghao;

public class TextVar extends VarItem {
	private String text;

	public TextVar() {
		super();
		text = new String();
	}

	@Override
	public void SetValue(Object aValue) {
		if (aValue.getClass() == String.class) {
			text = new String((String) aValue);
		}
	}

	@Override
	public Object Value() {
		return text;
	}

}
